From: Paul Eggert Date: Tue, 7 Feb 2017 02:00:13 +0000 (-0800) Subject: Do not trick info/dir’s timestamp X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21^2~1873^2~25 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d7134989be3a83927e178bf0063aa5237bdb2a18;p=emacs.git Do not trick info/dir’s timestamp * Makefile.in (${srcdir}/info/dir): When making this file, do not do anything special about its timestamp. Previously this rule used move-if-change, which meant that this file’s timestamp could end up being older than the files it depends on, and this caused ‘make --question info’ to fail, which caused ‘make-dist’ to fail now that ‘make-dist’ invokes ‘make --question info’. --- diff --git a/Makefile.in b/Makefile.in index 60f30b993a3..807a40a2844 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1011,12 +1011,10 @@ info_dir_deps = \ ## slow down parallelization. ${srcdir}/info/dir: ${info_dir_deps} $(AM_V_at)${MKDIR_P} ${srcdir}/info - $(AM_V_GEN)tempfile=info-dir.$$$$; \ - rm -f $${tempfile}; \ - (cd ${srcdir}/doc && \ + $(AM_V_GEN)(cd ${srcdir}/doc && \ AWK='${AWK}' ../build-aux/make-info-dir ${info_dir_inputs} \ - ) >$$tempfile && \ - ${srcdir}/build-aux/move-if-change $${tempfile} ${srcdir}/info/dir + ) >$@.tmp + mv $@.tmp $@ INSTALL_DVI = install-emacs-dvi install-lispref-dvi \ install-lispintro-dvi install-misc-dvi